package com.waste.game.entity.entitiytv;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.lang.NonNull;

import java.io.Serializable;
import java.util.Date;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class VideoPlBean implements Serializable {
    private Integer id;
    @NonNull
    private Integer parentId;
    @NonNull
    private String linkName;
    @NonNull
    private String content;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;
    @NonNull
    private Integer boolChild;
    @NonNull
    private Integer rootId;
    @NonNull
    private String linkImg;
    private String tipImg;
    private Integer tipNum;
    private Integer likeNum;
    private String aiteName;
    private Integer childNum;
}
